﻿using System.Drawing;
using System.Drawing.Imaging;
using System.Web;
using Home.Site.Models;

namespace Home.Site.Upload
{
    public interface IDataBuilder
    {
        void BuildPhoto(int albumId, string name, string fileName, string contentType, string physicalFileName);
        void SaveJpeg(string path, Bitmap img, long quality);
        void BuildImages(HttpPostedFile file, string pathFull, string pathThumb, string fileNamePath, int fW, int fH, int tW, int tH);
        void BuildImage(HttpPostedFile file, string pathFull, string fileNamePath, int fW, int fH);
    }
}